package cn.rokka.rbac.service;


import cn.rokka.rbac.domain.Department;
import cn.rokka.rbac.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService {
    void delete(Long id);

    void save(Department record);

    Department getById(Long id);

    List<Department> listAll();

    void update(Department record);

    PageInfo<Department> query(QueryObject qo);
}
